From 8ff144a439e5f452e69f67de1febf1c94d61b1a0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 24 Apr 2007 21:44:41 +0100 Subject: [PATCH] acm: Move acm_domain_destroy() hook to complete_domain_destroy(). Signed-off-by: Keir Fraser --- xen/common/domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index 00df76ede0..5d13042f73 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -321,7 +321,6 @@ void domain_kill(struct domain *d) return; } - acm_domain_destroy(d); gnttab_release_mappings(d); domain_relinquish_resources(d); put_domain(d); @@ -473,6 +472,8 @@ static void complete_domain_destroy(struct rcu_head *head) { struct domain *d = container_of(head, struct domain, rcu); + acm_domain_destroy(d); + rangeset_domain_destroy(d); evtchn_destroy(d); -- 2.30.2